package com.hz.ruoyifarmbase.farm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hz.ruoyifarmbase.farm.domain.AgrBaseBatch;
import com.hz.ruoyifarmbase.farm.domain.vo.AgrBatchBreedVo;

import java.util.List;
import java.util.Map;

/**
 * @author 侯文波
 * @date 2025/3/7 10:18
 * @description:
 */
public interface AgrBaseBatchService extends IService<AgrBaseBatch> {
    /**
     * 查询批次信息
     * @param agrBatchBreedVo
     * @return
     */
    public List<AgrBatchBreedVo> selectAgrBatchBreedList(AgrBatchBreedVo agrBatchBreedVo);

    /**
     * 新增批次信息
     * @param agrBaseBatch
     * @return
     */
    public int insertAgrBaseBatch(AgrBaseBatch agrBaseBatch);

    /**
     * 修改批次信息
     * @param agrBaseBatchVo
     * @return
     */
    public int updateAgrBaseBatch(AgrBatchBreedVo agrBaseBatchVo);

    /**
     * 删除批次信息
     * @param batchId
     * @return
     */
    public int deleteAgrBaseBatch(Long batchId);
    public Long countBatch(Integer status);

    /**
     * @author gmy
     * 获取成熟批次
     * @return
     */
    public List<Map<String, Object>> getBatchMature();
}
